
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改个人信息</title>
<!-- jquery -->
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/jquery-1.11.1.min.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" href="../css/bootstrap.min.css">
<script src="../js/bootstrap.min.js"></script>
<script >
	$(function() {
		$.ajax({
			url:'../showSelfInfo',
			dataType:'json',
			type:'post',
			success:function(re){
				$("input[name='uidcard']").val(re.uidcard);
				$("input[name='uname']").val(re.uname);
				$("input[name='usex']").val(re.usex);
				$("input[name='uage']").val(re.uage);
				$("input[name='utelphone']").val(re.utelphone);	
			}
		})
	})
</script>
<style type="text/css">
	.infoContainer{
		width:700px;
		height:40px;
		margin:0 auto;
		color:gray;
		font-size:16px;
	}
	.txt{
		color:black;
	}
</style>
</head>
<body>
	<div class="container">
		<div class="row">
			<h3 class="text-info" style="text-align: center;">修改个人信息</h3>
		</div><br/><br/>
		<div class="row">
			<form action="../alterSelfInfo" method="post">
				<div class="infoContainer rows">
					<div class="col-md-2"><span class="txt">员工号：</span></div>
					<div class="col-md-10"><input type="text" name="uidcard" class="form-control"/></div>
				</div><br/>
				<div class="infoContainer">
					<div class="col-md-2"><span class="txt">姓名：</span></div>
					<div class="col-md-10"><input type="text" name="uname" class="form-control"/></div>
				</div><br/>
				<div class="infoContainer">
					<div class="col-md-2"><span class="txt">性别：</span></div> 
					<div class="col-md-10"><input type="text" name="usex" class="form-control"/></div>
				</div><br/>
				<div class="infoContainer">
					<div class="col-md-2"><span class="txt">年龄：</span></div>  
					<div class="col-md-10"><input type="text" name="uage" class="form-control"/></div> 
				</div><br/>
				<div class="infoContainer">
					<div class="col-md-2"><span class="txt">联系方式：</span></div>   
					<div class="col-md-10"><input type="text" name="utelphone" class="form-control" /></div>   
				</div><br/><br/>
				<div style="width:600px;margin:0 auto;" >
					<input type="submit" value="确认修改" class="btn btn-primary btn-lg btn-block"/>
				</div>
			</form>
		</div>
	</div>

</body>
</html>